package com.fg.room.pojo.DTO;

import com.fg.common.entity.PageQuery;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
/**
 * <p>
 * 设备管理分页列表查询
 * </p>
 *
 * @author ct
 * @since 2021-04-26
 **/
@Data
@ApiModel(value = "分页查询对象", description = "设备列表查询")
public class DeviceInfoPageQueryDto extends PageQuery {
    /**
     * 所在地址Id
     */
    @ApiModelProperty(value = "所在地址ID", example = "1")
    private String addressId;
    /**
     * 报修状态
     */
    @ApiModelProperty(value = "报修状态", example = "未报修")
    private String repairStatus;

    /**
     * 报废状态:true  or  false
     */
    @ApiModelProperty(value = "报废状态", example = "false")
    private Boolean scrapStatus;
    /**
     * 报废状态:true  or  false
     */
    @ApiModelProperty(value = "品牌ID", example = "1")
    private String brandId;

    /**
     * 开始登记时间
     */
    @ApiModelProperty(value = "开始登记时间", example = "2021-02-01 12:00:00")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startRegisterTime;
    /**
     * 结束登记时间
     */
    @ApiModelProperty(value = "结束登记时间", example = "2021-10-01 12:00:00")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endRegisterTime;
    /**
     * 开始到期时间
     */
    @ApiModelProperty(value = "开始到期时间", example = "2021-10-01 12:00:00")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startExpireTime;
    /**
     * 结束到期时间
     */
    @ApiModelProperty(value = "结束到期时间", example = "2021-10-01 12:00:00")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endExpireTime;
}
